perm filename CYCOMC.LAP[1,LMM] blob
sn#034824 filedate 1973-04-12 generic text, type T, neo UTF8
(COMMENT IO FUNCTIONS)
(LAP PRINRAD SUBR)
(PUSH P 1)
(CALL 1 (E PRINT))
(MOVE 1 0 P)
(CALL 1 (E NUMNODES))
(PUSH P 1)
(CALL 1 (E PRINRAD0))
(PUSH P 0 P)
(PUSH P (C 0 0 (QUOTE NIL) 0))
TAG1 (MOVEI 2 (QUOTE 1))
(MOVE 1 -1 P)
(CALL 2 (E *LESS))
(JUMPN 1 TAG4)
(MOVE 2 0 P)
(MOVE 1 -1 P)
(CALL 2 (E CONS))
(MOVEM 1 0 P)
TAG2
TAG3 (MOVEI 2 (QUOTE -1))
(MOVE 1 -1 P)
(CALL 2 (E *PLUS))
(MOVEM 1 -1 P)
(JRST 0 TAG1)
TAG4 (MOVE 2 0 P)
(MOVE 3 -3 P)
(MOVEI 1 (QUOTE NIL))
(CALL 3 (E PRINRAD1))
(SUB P (C 0 0 2 2))
(MOVE 1 -1 P)
(CALL 1 (E PRINRADOFF))
(MOVEI 1 (QUOTE NIL))
(SUB P (C 0 0 2 2))
(POPJ P)
NIL
(LAP NUMNODES SUBR)
(PUSH P 1)
(PUSH P (C 0 0 (QUOTE 0) 0))
(HRRZ@ 1 1)
(PUSH P 1)
(PUSH P (C 0 0 (QUOTE NIL) 0))
TAG1 (MOVE 1 -1 P)
(JUMPE 1 TAG4)
(HLRZ@ 1 1)
(MOVEM 1 0 P)
(HRRZ@ 1 1)
(PUSH P 1)
(HLRZ@ 1 -1 P)
(CALL 1 (E NUMNODES))
(POP P 2)
(CALL 2 (E *TIMES))
(MOVE 2 -2 P)
(CALL 2 (E *PLUS))
(MOVEM 1 -2 P)
TAG2
TAG3 (HRRZ@ 1 -1 P)
(MOVEM 1 -1 P)
(JRST 0 TAG1)
TAG4 (MOVE 1 -2 P)
(MOVEM 1 -2 P)
(HLRZ@ 1 -3 P)
(JUMPN 1 TAG10)
(MOVEI 2 (QUOTE 0))
(J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0 6 6))
TAG6
TAG7
TAG8 (HRRZ@ 1 -3 P)
(MOVEM 1 -3 P)
(JRST 0 TAG1)
TAG9 (MOVE 1 0 P)
(SUB P (C 0 0 6 6))
(POPJ P)
NIL
(LAP PRINRAD0 SUBR)
(PUSH P 1)
(MOVEI 1 (QUOTE 0))
(MOVEM 1 (SPECIAL XLATN))
(MOVE 2 0 P)
(MOVEI 1 (QUOTE 5))
(CALL 2 (E PRINNUM))
(CALL 0 (E TERPRI))
(MOVEI 1 (QUOTE NIL))
(SUB P (C 0 0 1 1))
(POPJ P)
NIL
(LAP PRINENTRY SUBR)
(PUSH P 1)
(PUSH P 2)
(PUSH P 3)
(EXCH 2 1)
(MOVEI 1 (QUOTE 3))
(CALL 2 (E PRINNUM))
(MOVE 1 -1 P)
(CALL 1 (E ATOM))
(JUMPE 1 TAG9)
(MOVE 1 -1 P)
(CALL 1 (E PRIN1))
(JRST 0 TAG8)
TAG9 (MOVEI 1 (QUOTE X))
(CALL 1 (E PRIN1))
(MOVE 1 (SPECIAL XLATN))
(CALL 1 (E ADD1))
(MOVEM 1 (SPECIAL XLATN))
(CALL 1 (E PRIN1))
(MOVE 2 -1 P)
(MOVE 1 (SPECIAL XLATN))
(CALL 2 (E CONS))
(MOVE 2 (SPECIAL XLATETABLE))
(CALL 2 (E CONS))
(MOVEM 1 (SPECIAL XLATETABLE))
TAG10
TAG8 (PUSH P 0 P)
(PUSH P (C 0 0 (QUOTE NIL) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
TAG1 (MOVE 1 -2 P)
(JUMPE 1 TAG4)
(HLRZ@ 1 1)
(MOVE 2 1)
(MOVEM 1 -1 P)
(MOVEI 1 (QUOTE 3))
(CALL 2 (E PRINNUM))
TAG2
TAG3 (HRRZ@ 1 -2 P)
(MOVEM 1 -2 P)
(JRST 0 TAG1)
TAG4 (MOVE 1 0 P)
(SUB P (C 0 0 3 3))
(CALL 0 (E TERPRI))
(MOVEI 1 (QUOTE NIL))
(SUB P (C 0 0 3 3))
(POPJ P)
NIL
(LAP PRINNUM SUBR)
(MOVE 1 2)
(JCALL 1 (E PRIN1))
NIL
(LAP WIDTH SUBR)
(PUSH P 1)
(PUSH P (C 0 0 (QUOTE ((99999 6) (9999 5) (999 4) (99 3) (9 2) (0 1))) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
TAG1 (MOVE 1 -2 P)
(JUMPE 1 TAG4)
(HLRZ@ 1 1)
(MOVEM 1 -1 P)
(CALL 1 (E CADR))
(MOVEM 1 0 P)
TAG2
TAG3 (HRRZ@ 1 -2 P)
(MOVEM 1 -2 P)
(HLRZ@ 2 -1 P)
(MOVE 1 -3 P)
(CALL 2 (E *GREAT))
(JUMPN 1 TAG4)
(JRST 0 TAG1)
TAG4 (MOVE 1 0 P)
(SUB P (C 0 0 4 4))
(POPJ P)
NIL
(LAP PRINRADOFF SUBR)
(PUSH P 1)
(MOVEI 1 (QUOTE STRUCTURE=))
(CALL 1 (E PRIN1))
(MOVE 1 0 P)
(CALL 1 (E PRINT))
(PUSH P (SPECIAL XLATETABLE))
(PUSH P (C 0 0 (QUOTE NIL) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
TAG1 (MOVE 1 -2 P)
(JUMPE 1 TAG4)
(HLRZ@ 1 1)
(MOVEM 1 -1 P)
(MOVEI 1 (QUOTE X))
(CALL 1 (E PRIN1))
(HLRZ@ 1 -1 P)
(CALL 1 (E PRIN1))
(MOVEI 1 (QUOTE =))
(CALL 1 (E PRIN1))
(HRRZ@ 1 -1 P)
(CALL 1 (E PRINT))
TAG2
TAG3 (HRRZ@ 1 -2 P)
(MOVEM 1 -2 P)
(JRST 0 TAG1)
TAG4 (MOVE 1 0 P)
(SUB P (C 0 0 3 3))
(MOVEI 1 (QUOTE END*))
(CALL 1 (E PRINT))
(CLEARM 1 (SPECIAL XLATETABLE))
(MOVEI 1 (QUOTE NIL))
(SUB P (C 0 0 1 1))
(POPJ P)
NIL